package demo;


import demo.standard.*;

public class ClientForStandard {

    public static void main(String[] args) {

        IVisitor visitorA = new ConcreteVisitorA();
        IVisitor visitorB = new ConcreteVisitorB();

        ObjectStructure objectStructure = new ObjectStructure();
        objectStructure.useForClient(visitorA);
        System.out.println("");
        objectStructure.useForClient(visitorB);
        System.out.println("");
    }
}
